
public class Tax extends Block {
	private int payment;
	private String called;
	private String picture;
	private int TaxLocation;
	
	public Tax(int blocknumber, int pay, String called_ , String pic, int taxLoc){
		super(blocknumber);
		this.setPayment(pay);
		this.called = called_;
		this.setPicture(pic);
		this.TaxLocation=taxLoc;
	}
	public void setPayment(int payment) {
		this.payment = payment;
	}
	public int getPayment() {
		return payment;
	}
	public void setCalled(String called) {
		this.called = called;
	}
	public String getCalled() {
		return called;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public String getPicture() {
		return picture;
	}
	public void setTaxLocation(int taxLocation) {
		TaxLocation = taxLocation;
	}
	public int getTaxLocation() {
		return TaxLocation;
	}
}
